| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

DefaultMemorySpace.h
1 // DefaultMemorySpace.h
3 //
5
6 namespace nkMemory
7 {
14 class DefaultMemorySpace final : public MemorySpace<char*>
15 {
16 public :
17
23 DefaultMemorySpace (unsigned long long spaceSize) noexcept ;
27 virtual ~DefaultMemorySpace () ;
28
32 virtual char* getBasePtr () const override ;
36 virtual char* getOffsetPtr (unsigned long long offset) const override ;
37 } ;
38 }
nkMemory::DefaultMemorySpace::DefaultMemorySpace
DefaultMemorySpace(unsigned long long spaceSize) noexcept
nkMemory::MemorySpace
Represents a memory space held by a page in a pager.
Definition: MemorySpace.h:13
nkMemory::DefaultMemorySpace::getBasePtr
virtual char * getBasePtr() const override
nkMemory::DefaultMemorySpace
A basic memory space with default implementation.
Definition: DefaultMemorySpace.h:15
nkMemory::DefaultMemorySpace::getOffsetPtr
virtual char * getOffsetPtr(unsigned long long offset) const override
nkMemory::DefaultMemorySpace::~DefaultMemorySpace
virtual ~DefaultMemorySpace()
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7